package com.aaa.util;

public enum ReturnStatusEnum {
    SUCCESS(0,"操作成功"),
    UPLOADSUCCESS(0,"上传成功"),
    UPLOADSUCCESSFAILE(1,"上传失败"),
    FAILE(1,"操作失败");
    private int code;
    private String message;

    ReturnStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
